sched_rt: fix memory leak in rt_init()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 8 Jun 2015 12:13:23 +0000 (14:13 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 8 Jun 2015 12:13:23 +0000 (14:13 +0200)
commitd17547414199f4434289f75ab2b1364cc961982e
tree63a9cf06ae9e1dd8aa5efc6a63f4c118521dfa19
parentecdae1cfaa7f6123decaa1b9d7205c3ff726b941
sched_rt: fix memory leak in rt_init()

Introduced by c/s 376bbba "sched_rt: print useful affinity info when dumping".
If the allocation of cpumask failed, prv was leaked.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Coverity-ID: 1304398
Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
xen/common/sched_rt.c